package com.mall.author.feign;

import com.mall.author.vo.LoginVo;
import com.mall.author.vo.RegistryVo;
import com.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: 谢君臣
 * @Date: 2022/8/6-21:17
 * @version: 1.0
 * @function:
 */
@FeignClient("memberServer")
public interface MemberFeignClient {

    @PostMapping("/member/member/registry")
    Result registry(@RequestBody RegistryVo memberRegistryVo);

    @PostMapping("/member/member/login_pwd")
    Result login_pwd(@RequestBody LoginVo loginVo);
}
